package com.smedi.ismedi.dangeroussourcemanage.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @auther Cookie
 * @date 2022/8/19
 */
@Data
@ApiModel(value = "获取危险源列表")
public class DangerousSourceListRequest {

    @ApiModelProperty(value = "项目id集合", required = true)
    private List<Long> projectIds;

    @ApiModelProperty(value = "施工单位")
    private String constructionUnit;

    @ApiModelProperty(value = "工程类别")
    private String engineeringCategory;

    @ApiModelProperty(value = "施工状态 [-1:未实施][0:正在实施][1:实施完成]")
    private String constructionStatus;

    @ApiModelProperty(value = "施工状态（多选） [-1:未实施][0:正在实施][1:实施完成]")
    private List<String> constructionStatuses;

    @ApiModelProperty(value = "重点危险源")
    private String keyHazards;

    @ApiModelProperty(value = "单位工程")
    private String unitEngineering;

    @ApiModelProperty(value = "计划施工时间", example = "[\"2021-01-01 00:00:00\",\"2022-01-01 00:00:00\"]")
    private String planConstructionTime;

    @ApiModelProperty(value = "计划结束时间", example = "[\"2021-01-01 00:00:00\",\"2022-01-01 00:00:00\"]")
    private String planEndTime;
}
